#ifndef RTSPD_H
#define RTSPD_H

#include <sys/socket.h>

/*
 * Serve.
 */
int serve(char* service_port);

/*
 * Convert an IP address buffer into a string, then print!
 */
void print_got_ip(struct sockaddr_storage* addr);

void accept_clients_loop(int listen_socket_fd);

void create_client_thread(int socket_fd);

void *serve_client(void *arg);

#endif
